ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / ComObject Class / QueryInterfaceOrNull Method / QueryInterfaceOrNull<T>() Method

In This Topic
    QueryInterfaceOrNull<T>() Method
    In This Topic
    Query Interface for a particular interface support.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function QueryInterfaceOrNull(Of T As ComObject)() As T
    public virtual T QueryInterfaceOrNull<T>()
    where T: ComObject

    Type Parameters

    T

    Return Value

    An instance of the queried interface or null if it is not supported
    See Also